@charset "UTF-8";



@media (max-width: $screen-lg-min){
    .col-md-2\.4{
        width: 20%;
        float: left;
        &:nth-child(1),
        &:nth-child(2),
        &:nth-child(3),
        &:nth-child(4),
        &:nth-child(5){
            border-top: $default-border;
        }
    }
    html{
        width: 1200px;
    }
}


#common-home{

    padding-left: 0;
    padding-right:0;
    padding-bottom: 170px;
    background-repeat: no-repeat;
    background-position: bottom;

    .module-1{
        margin-top: 60px;
        padding-top: 78px;
        padding-bottom: 14px;
        background-repeat: no-repeat, no-repeat;
        background-position: top center;
        background-image: url("/catalog/view/theme/amazon/image/bg/module_bg_01.png");
        @media (max-width: 1600px){
            background-size: 100% 100%;
        }
        min-width: 1300px;
    }

    .module-2{
        padding-top: 34px;
        padding-bottom: 31px;
        background-repeat: no-repeat, no-repeat;
        background-position: top center;
        background-image: url("/catalog/view/theme/amazon/image/bg/module_bg_02.png");
        @media (max-width: 1600px){
            background-size: 100% 100%;
        }
        min-width: 1300px;
    }

    .module-3{
        padding-top: 29px;
        padding-bottom: 32px;
        background-repeat: no-repeat, no-repeat;
        background-position: top center;
        background-image: url("/catalog/view/theme/amazon/image/bg/module_bg_02.png");
        @media (max-width: 1600px){
            background-size: 100% 100%;
        }
        min-width: 1300px;
    }

    .module-4{
        padding-top: 29px;
        padding-bottom: 32px;
        background-repeat: no-repeat, no-repeat;
        background-position: top center;
        background-image: url("/catalog/view/theme/amazon/image/bg/module_bg_03.png");
        @media (max-width: 1600px){
            background-size: 100% 100%;
        }
        min-width: 1300px;
    }

    .widget-title {
        height: 100px;
        width: 1200px;
        margin:0 auto;
        position: relative;
        background-repeat: no-repeat;
        color:#333333;
        &>span{
            position: absolute;
            left: 50%;
            top: 0;
            height: 30px;
            font-size: 24px;
            line-height: 1;
            transform: translateX(-50%);
            &:after{
                content: '';
                display: block;
                width:40px;
                height:2px;
                margin: 16px auto 0;
                background:#333333;
            }
        }
        &:after{
            display: none;
        }

        &>a{
            position: absolute;
            right: 0;
            bottom: 12px;
            height:24px;
            font-size:18px;
            line-height:24px;
            font-weight: normal;
            color:#333333;
        }
    }

    .product-wrapper {
        width:1200px;
        margin: 0 auto;
        position: relative;
        //border-left: 1px solid #E6E6E6;
        .product-layout.col-md-2\.4,
        .product-layout.col-lg-2\.4{
            height: 326px;
        }


        .product-layout{
            border-right: 1px solid #E6E6E6;
            border-bottom: 1px solid #E6E6E6;
            .product-thumb{
                padding-top: 16px;
                padding-left: 20px;
                padding-right: 20px;
                padding-bottom: 10px;
                .image{
                    position: relative;
                    img{
                        width: 100%
                    }
                    /*试戴的标识图标*/
                    .tryon-icon {
                        width: 46px;
                        height: 46px;
                        line-height: 68px;
                        text-align: center;
                        font-size: 12px;
                        color: #fff;
                        background-image: url("/catalog/view/theme/jd/image/icon/3d_tryon.svg");
                        background-repeat: no-repeat;
                        background-size: cover;
                        pointer-events: none;
                    }
                }
                .caption{
                    padding-top: 8px;
                    .product-name{
                        a {
                            display: block;
                            white-space: nowrap;
                            text-overflow: ellipsis;
                            overflow: hidden;
                            height:19px;
                            font-size:14px;
                            font-weight:400;
                            line-height:20px;
                            color: #333333;
                            &:hover{
                                color: #333333;
                            }
                        }
                    }

                    .price{
                        margin-bottom: 12px;
                        height:23px;
                        font-size:18px;
                        font-weight:300;
                        line-height:24px;
                        color: #333;
                        .price-old{
                            padding-left: 4px;
                            height:290px;
                            background:rgba(255,255,255,1);
                            text-decoration: line-through;
                            color: #E6E6E6;
                            margin: 0;
                            font-size: 12px;
                        }
                    }
                    .product-description{
                        display: none;
                    }
                }
            }

        }
    }

    .module-carousel{
        padding-top: 24px;
        background-repeat: no-repeat, no-repeat;
        background-position: top center;
        background-image: url("/catalog/view/theme/amazon/image/bg/modue_bg_brand.png");
        @media (max-width: 1600px){
            background-size: 100% 100%;
        }
        min-width: 1300px;
        .swiper-container{
            width: 1100px;
            height: 120px;
            box-sizing: content-box;
            border: 1px solid #E6E6E6;
            margin: 0 auto;
            padding: 20px 50px;
        }
        .swiper-wrapper{
            background: #ffffff;
            width: 1200px;
            margin: 0 auto;
            .swiper-slide{
                .image{
                    background: #ffffff;
                }
            }
        }
    }
}
